<template>
	<view class="cont">

		<view class="contents">
			<view class="title">
				<text style="font-size:34rpx"><text>{{data.name}}</text></text>
				<!-- <u-icon class='iconleft' name="arrow-right-double" size="28"></u-icon> -->
				<!-- <view class="iconleft">
					上次检查时间：{{data.time}}
				</view> -->
				<!-- <view class="status">
						<view class="" v-if="data.isCheck" style="color:#666 ">
							未检验
						</view>
						<view class="" v-else style="color:blue">
							已检验
						</view>
					</view> -->
			</view>
      	<u-line color="#E7E6E6"></u-line>
			<!-- <view class="head"> -->
			<!-- 状态： -->
			<!-- <view class="tab" style="color: #09BB07;">
						正常：{{data.normal}}
					</view>
					<view class="tab" style="color: #f72d09;">
						异常：{{data.error}}
					</view>
					<view class="tab" style="color: #CCCCCC;">
						待检测：{{data.num}}
					</view>
				</view> -->
			<view class="detail">
				<view class="de-text">
					<view class="">
            <text style="float:left">负责人</text>
							
            <text style="float:right">{{name}}</text>
						
						</view>
					<!-- <view class="">
						所在地区：{{data.position}}
					</view> -->
				</view>
				
			</view>
			<!-- <view class="bottom">
				<view class="">
					上次检查时间：{{data.time}}
				</view>
			</view> -->
		</view>

	</view>
</template>
<script>
export default {
  props: {
    data: {
      type: Object,
      default: 0
    }
  },
  data() {
    return {
      remark: "",
      name: ""
    };
  },
  //生命周期函数
  mounted: function() {
     this.name=uni.getStorageSync('nickName')

  //   // this.cartcount = getApp().globalData.uname
  //   this.admin = getApp().globalData.uname;
  },
  methods: {}
};
</script>

<style lang="scss" scoped>
.cont {
  padding: 20rpx 18rpx;

  // background-color: white;
  .contents {
    // border: 1px solid #CCCCCC;
    // margin: 30rpx 50rpx;

    // padding: 20rpx 40rpx;
    .title {
      font-size: 34rpx;
      font-weight: 600;

      .status {
        float: right;
        margin-top: 2rpx;
        margin-right: 10rpx;
      }

      .iconleft {
        font-weight: 500;
        // margin-left: 300rpx;
        float: right;
        margin-top: 6rpx;
      }
    }

    .head {
      display: flex;
      padding: 40rpx 40rpx 0rpx;

      .tab {
        // border-right: 1px solid #ccc;
        padding-right: 20rpx;
      }
    }

    .detail {
      display: flex;
      // padding-left: 40rpx;
      margin-top: 20rpx;

      .de-text {
        color: #666;
        flex: 1;
      }

      .de-status {
        flex: 1;
        display: flex;
      }
    }

    .bottom {
      // padding-left: 18rpx;
      color: #111;
    }
  }
}
</style>
